package com.menggudf.dao.base;

import java.util.List;

public class Page<T>
{
  private List<T> resultList;
  private long count;
  private int pageSize;
  private int offset;
  
  public Page() {}
  
  public Page(List<T> resultList, long count, int pageSize, int offset)
  {
    this.resultList = resultList;
    this.count = count;
    this.pageSize = pageSize;
    this.offset = offset;
  }
  
  public long getCount()
  {
    return this.count;
  }
  
  public void setCount(long count)
  {
    this.count = count;
  }
  
  public int getPageSize()
  {
    return this.pageSize;
  }
  
  public void setPageSize(int pageSize)
  {
    this.pageSize = pageSize;
  }
  
  public int getOffset()
  {
    return this.offset;
  }
  
  public void setOffset(int offset)
  {
    this.offset = offset;
  }
  
  public List<T> getResultList()
  {
    return this.resultList;
  }
  
  public void setResultList(List<T> resultList)
  {
    this.resultList = resultList;
  }
}
